<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Bel_Controller_Aed</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Bel_Controller_Aed</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Base controller for AED (add - edit - delete) functionality. Operates a data from a database. Useful when building an administrative interface</p>
	<ul class="tags">
				<li><span class="field">author:</span> Konstantin Shamko &lt;<a href="mailto:konstantin.shamko@gmail.com">konstantin.shamko@gmail.com</a>&gt;</li>
				<li><span class="field">version:</span> 0.0.1</li>
				<li><span class="field">copyright:</span> Copyright (c) 2009 Konstantin Shamko</li>
				<li><span class="field">abstract:</span> </li>
				<li><span class="field">license:</span> New</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_Libs---Bel---Controller---Aed.php.html">/Libs/Bel/Controller/Aed.php</a> (line <span class="field">13</span>)
		</p>
		
				
		<pre>Zend_Controller_Action
   |
   --<a href="../Bel/Bel_Controller.html">Bel_Controller</a>
      |
      --Bel_Controller_Aed</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Usermanagement/Controller/admin_UsersController.html">admin_UsersController</a></td>
					<td>
											Controller to manage users in the admin area
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Content/Controller/admin_PagesController.html">admin_PagesController</a></td>
					<td>
											Controller to manage pages in admin area
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Usermanagement/Controller/admin_GroupsController.html">admin_GroupsController</a></td>
					<td>
											Controller to manage users' groups in admin area
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Content/Controller/admin_BuildmenuController.html">admin_BuildmenuController</a></td>
					<td>
											Controller to manage menus' items in admin area
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Content/Controller/admin_MenusController.html">admin_MenusController</a></td>
					<td>
											Controller to manage menus in admin area
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																																																																								<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$_added_entry" title="details" class="var-name">$_added_entry</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$_current_entry" title="details" class="var-name">$_current_entry</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$_delete_action" title="details" class="var-name">$_delete_action</a>
				</div>
																<div class="var-title">
					<span class="var-type">Zend_Session_Namespace</span>
					<a href="#$_formdata" title="details" class="var-name">$_formdata</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$_formname" title="details" class="var-name">$_formname</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$_form_action" title="details" class="var-name">$_form_action</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$_form_template" title="details" class="var-name">$_form_template</a>
				</div>
																<div class="var-title">
					<span class="var-type"><a href="../Bel/Bel_Grid.html">Bel_Grid</a></span>
					<a href="#$_grid" title="details" class="var-name">$_grid</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$_grid_template" title="details" class="var-name">$_grid_template</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$_index_action" title="details" class="var-name">$_index_action</a>
				</div>
																<div class="var-title">
					<span class="var-type">int</span>
					<a href="#$_items_on_page" title="details" class="var-name">$_items_on_page</a>
				</div>
																<div class="var-title">
					<span class="var-type">Bel_Model_Abstaract</span>
					<a href="#$_model" title="details" class="var-name">$_model</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$_modify_action" title="details" class="var-name">$_modify_action</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																				
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#deleteAction" title="details" class="method-name">deleteAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#formAction" title="details" class="method-name">formAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">object</span>
										<a href="#getModel" title="details" class="method-name">getModel</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#indexAction" title="details" class="method-name">indexAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#init" title="details" class="method-name">init</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#modifyAction" title="details" class="method-name">modifyAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_afterDelete" title="details" class="method-name">_afterDelete</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_afterModify" title="details" class="method-name">_afterModify</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_beforeDelete" title="details" class="method-name">_beforeDelete</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_beforeModify" title="details" class="method-name">_beforeModify</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_predisplayForm" title="details" class="method-name">_predisplayForm</a>
											(<span class="var-type"><a href="../Bel/Bel_Forms_Builder.html">Bel_Forms_Builder</a></span>&nbsp;<span class="var-name">$form</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_prepareForm" title="details" class="method-name">_prepareForm</a>
											(<span class="var-type"><a href="../Bel/Bel_Forms_Builder.html">Bel_Forms_Builder</a></span>&nbsp;<span class="var-name">$form</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$_added_entry" id="$_added_entry"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$_added_entry</span>
						(line <span class="line-number">103</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Array with added entry primary key name and value. Use in _afterModify() method</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_current_entry" id="$_current_entry"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$_current_entry</span>
						(line <span class="line-number">96</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Db editable/deletable entry</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_delete_action" id="$_delete_action"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$_delete_action</span>
						(line <span class="line-number">54</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">URL to delete an entry from a DB. Sets automatically, but could be changed</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_formdata" id="$_formdata"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">Zend_Session_Namespace</span>
			<span class="var-name">$_formdata</span>
						(line <span class="line-number">75</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Zend_Session object to store data from form to show populated form in case of errors during submition</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_formname" id="$_formname"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$_formname</span>
						(line <span class="line-number">33</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Name of a form to add/edit entry</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_form_action" id="$_form_action"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$_form_action</span>
						(line <span class="line-number">47</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">URL that will bring user to add/edit form. Sets automatically, but could be changed</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_form_template" id="$_form_template"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$_form_template</span>
			 = <span class="var-default"> 'forms/default.tpl'</span>			(line <span class="line-number">26</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Template with add/edit form</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_grid" id="$_grid"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../Bel/Bel_Grid.html">Bel_Grid</a></span>
			<span class="var-name">$_grid</span>
						(line <span class="line-number">82</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Grid object. Needed to build data grids</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_grid_template" id="$_grid_template"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$_grid_template</span>
			 = <span class="var-default"> 'grids/default.tpl'</span>			(line <span class="line-number">19</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Name of the grid template</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_index_action" id="$_index_action"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$_index_action</span>
						(line <span class="line-number">40</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Action that shows data grid. Sets automatically, but could be changed</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_items_on_page" id="$_items_on_page"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$_items_on_page</span>
			 = <span class="var-default"> 0</span>			(line <span class="line-number">89</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Quantity of entries to show in grid</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_model" id="$_model"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">Bel_Model_Abstaract</span>
			<span class="var-name">$_model</span>
						(line <span class="line-number">68</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Model object to operate with.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_modify_action" id="$_modify_action"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$_modify_action</span>
						(line <span class="line-number">61</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Form action to add/edit an entry. Sets automatically, but could be changed</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../Bel/Bel_Controller.html">Bel_Controller</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../Bel/Bel_Controller.html#var$view">Bel_Controller::$view</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../Bel/Bel_Controller.html#var$_cache">Bel_Controller::$_cache</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../Bel/Bel_Controller.html#var$_messages">Bel_Controller::$_messages</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../Bel/Bel_Controller.html#var$_seo">Bel_Controller::$_seo</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../Bel/Bel_Controller.html#var$_validator">Bel_Controller::$_validator</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methoddeleteAction" id="deleteAction"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">deleteAction</span> (line <span class="line-number">237</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Action to delete entry from a DB</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			deleteAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodformAction" id="formAction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">formAction</span> (line <span class="line-number">168</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Displays add or edit entry form</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			formAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetModel" id="getModel"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getModel</span> (line <span class="line-number">250</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns model object</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">object</span>
		<span class="method-name">
			getModel
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodindexAction" id="indexAction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">indexAction</span> (line <span class="line-number">132</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Index action. Displays a data grid</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			indexAction
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../Content/Controller/admin_BuildmenuController.html#methodindexAction">admin_BuildmenuController::indexAction()</a>
								: Displays all menus with their items
							</li>
				</ul>
	</div>
<a name="methodinit" id="init"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">init</span> (line <span class="line-number">110</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Object initialization</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			init
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Bel/Bel_Controller.html#methodinit">Bel_Controller::init()</a></dt>
						<dd>Initialize object</dd>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../Usermanagement/Controller/admin_UsersController.html#methodinit">admin_UsersController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Content/Controller/admin_PagesController.html#methodinit">admin_PagesController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Usermanagement/Controller/admin_GroupsController.html#methodinit">admin_GroupsController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Content/Controller/admin_BuildmenuController.html#methodinit">admin_BuildmenuController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Content/Controller/admin_MenusController.html#methodinit">admin_MenusController::init()</a>
								: Initialization
							</li>
				</ul>
	</div>
<a name="methodmodifyAction" id="modifyAction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">modifyAction</span> (line <span class="line-number">204</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Edits or adds entry into db</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			modifyAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method_afterDelete" id="_afterDelete"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_afterDelete</span> (line <span class="line-number">293</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that runs after delete action. $this-&gt;_current_entry variable is available in this method.</p>
<p class="description"><p>This variable contains array with deleted data.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_afterDelete
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../Content/Controller/admin_PagesController.html#method_afterDelete">admin_PagesController::_afterDelete()</a>
								: Clears pages's cache. Runs after page delete operation
							</li>
					<li>
				<a href="../Usermanagement/Controller/admin_GroupsController.html#method_afterDelete">admin_GroupsController::_afterDelete()</a>
								: Clear ACL cache after group deletion
							</li>
					<li>
				<a href="../Content/Controller/admin_BuildmenuController.html#method_afterDelete">admin_BuildmenuController::_afterDelete()</a>
								: Clears menu's cache. Runs after menu item delete operation
							</li>
				</ul>
	</div>
<a name="method_afterModify" id="_afterModify"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_afterModify</span> (line <span class="line-number">279</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that runs after modify action. $this-&gt;_current_entry variable is available in this method.</p>
<p class="description"><p>This variable contains array with edited data. It's available during edit (NOT ADD!!!) procedure.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_afterModify
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../Content/Controller/admin_PagesController.html#method_afterModify">admin_PagesController::_afterModify()</a>
								: Clears page's cache. Runs after page modifying
							</li>
					<li>
				<a href="../Content/Controller/admin_BuildmenuController.html#method_afterModify">admin_BuildmenuController::_afterModify()</a>
								: Clears menu's cache. Runs after menu item modifying
							</li>
				</ul>
	</div>
<a name="method_beforeDelete" id="_beforeDelete"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_beforeDelete</span> (line <span class="line-number">286</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that runs before delete action. $this-&gt;_current_entry variable is available in this method.</p>
<p class="description"><p>This variable contains array with deleted data.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_beforeDelete
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method_beforeModify" id="_beforeModify"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_beforeModify</span> (line <span class="line-number">272</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that runs before modify action. $this-&gt;_current_entry variable is available in this method.</p>
<p class="description"><p>This variable contains array with edited data. It's available during edit (NOT ADD!!!) procedure.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_beforeModify
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../Usermanagement/Controller/admin_UsersController.html#method_beforeModify">admin_UsersController::_beforeModify()</a>
								: Before adding/updating user validates if username &amp; email are available,
							</li>
					<li>
				<a href="../Usermanagement/Controller/admin_GroupsController.html#method_beforeModify">admin_GroupsController::_beforeModify()</a>
								: Sets correct values for guest_type &amp; default_type fields
							</li>
					<li>
				<a href="../Content/Controller/admin_BuildmenuController.html#method_beforeModify">admin_BuildmenuController::_beforeModify()</a>
								: Detects if page_id param is set. Runs before menu item modifying
							</li>
				</ul>
	</div>
<a name="method_predisplayForm" id="_predisplayForm"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_predisplayForm</span> (line <span class="line-number">265</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method to be able to add/delete/modify form fields dynamically before form displaying.$this-&gt;_current_entry variable is available in this method.</p>
<p class="description"><p>This variable contains array with edited data. It's available during edit (NOT ADD!!!) procedure.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_predisplayForm
		</span>
					(<span class="var-type"><a href="../Bel/Bel_Forms_Builder.html">Bel_Forms_Builder</a></span>&nbsp;<span class="var-name">$form</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../Bel/Bel_Forms_Builder.html">Bel_Forms_Builder</a></span>
				<span class="var-name">$form</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../Usermanagement/Controller/admin_UsersController.html#method_predisplayForm">admin_UsersController::_predisplayForm()</a>
								: Right before dispalying add/edit form clear password &amp; confirm password fields values
							</li>
				</ul>
	</div>
<a name="method_prepareForm" id="_prepareForm"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_prepareForm</span> (line <span class="line-number">258</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method to be able to add/delete/modify form fields dynamically.$this-&gt;_current_entry variable is available in this method.</p>
<p class="description"><p>This variable contains array with edited data. It's available during edit (NOT ADD!!!) procedure.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_prepareForm
		</span>
					(<span class="var-type"><a href="../Bel/Bel_Forms_Builder.html">Bel_Forms_Builder</a></span>&nbsp;<span class="var-name">$form</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../Bel/Bel_Forms_Builder.html">Bel_Forms_Builder</a></span>
				<span class="var-name">$form</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../Usermanagement/Controller/admin_UsersController.html#method_prepareForm">admin_UsersController::_prepareForm()</a>
								: Populates groups select field with options
							</li>
					<li>
				<a href="../Content/Controller/admin_BuildmenuController.html#method_prepareForm">admin_BuildmenuController::_prepareForm()</a>
								: Builds form to modify/add menu item
							</li>
				</ul>
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../Bel/Bel_Controller.html">Bel_Controller</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../Bel/Bel_Controller.html#methodinit">Bel_Controller::init()</a></span><br>
													<span class="method-name"><a href="../Bel/Bel_Controller.html#method_ifAjax">Bel_Controller::_ifAjax()</a></span><br>
													<span class="method-name"><a href="../Bel/Bel_Controller.html#method_redirect">Bel_Controller::_redirect()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Mon, 01 Mar 2010 18:58:50 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0</a>
	</p>
	</div></body>
</html>